﻿<?php
$shop = new Shop();
$shop->checkUser();//检查用户合法性，防止攻击

$info = $shop->getOrderById($pram[0]);
if(!$info)echo "<script type='text/javascript'>location.href='/home';</script>";
$total = $info['total']+$info['freight'];
$addinfo = $info['addressee'].'&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;'.$info['phone_number'].'&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;'.$info['province'].'&nbsp;&nbsp;&nbsp;'.$info['city'].'&nbsp;&nbsp;&nbsp;'.$info['area'].'&nbsp;&nbsp;&nbsp;'.$info['address'];
?>